Skip to main content

Delete Product

AutomatR.HubSpot.Activities.DeleteProduct

The "Delete Product" activity in AutomatR is part of the HubSpot activities package, allowing users to delete a product based on the product ID from their HubSpot user account. This activity streamlines product management tasks within HubSpot.

Properties

NameDescription
Input
Product IDEnter the ID of the product that needs to be deleted from the HubSpot product list.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelayEnter the wait time in seconds (Example: 5 seconds) to start the activity.
Output
ResultOutputs the result of the "Delete Product" operation, indicating whether the deletion was successful or encountered errors. Variables of relevant types (e.g., Boolean variables) to store the operation result.

How to use:

  1. Drag and drop the "Delete Product" activity onto the workflow.
  2. Configure the properties by specifying the product ID for deletion.
  3. Optionally, configure the delay if needed.
  4. Execute the workflow to delete the specified product in the HubSpot account.

Example: Consider an example where the "Delete Product" activity is used to delete a product with ID "product123" from HubSpot:

Delete Product:
Product ID: "product123"

In this example, the activity attempts to delete the product with ID "product123" from HubSpot. If the product ID exists, the activity will delete the product; otherwise, it will set the result to false.